import React from 'react'
import Icon from '@/components/Icon'
import '../HomeHeard/index.scss'
import { useNavigate } from 'umi'
export default function HomeHeard() {
  const navigate = useNavigate()
  return (
    <div className='home-heard'>
      <Icon name='chaxun' size={24} onClick={()=>{navigate('/cate')}}/>
      <img src="https://m.hua.com/content/vue/login/static/img/m_hualogo.png" alt="" />
      <Icon name='icon-test2' size={26}/>
    </div>
  )
}
